<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%   
request.setCharacterEncoding("utf-8");
String strNum1=request.getParameter("num1");
String strNum2=request.getParameter("num2");
int num1=Integer.parseInt(strNum1);
int num2=Integer.parseInt(strNum2);
String strOp=request.getParameter("op");
%>

	<%= strNum1%>
	<%= strOp %>
	<%= strNum2%>=
	

<%
if(strOp.equals("+")){
%>
	<%= num1+num2 %>
<%
}else if(strOp.equals("-")){
%>
	<%= num1-num2 %>
<%
}else if(strOp.equals("*")){
%>
	<%= num1*num2 %>
<%
}else if(strOp.equals("/")){
%>
	<%= num1/num2 %>
<%
}
%>





</body>
</html>